home *** CD-ROM | disk | FTP | other *** search
-
- -- class definition for class based mods
- --
- -- this info is used in GameRuleClassLib.lua and in the in game menu
-
- local MCD_Scale=1.4;
-
- MultiplayerClassDefiniton=
- {
- PlayerClasses={ -- for class based mods
-
- Grunt=
- {
- model="Objects/characters/mercenaries/Merc_cover/merc_cover_MP.cgf",
- health = 130,
- armor = 50,
- max_armor = 50,
- weapon1={"Machete",},
- weapon2={"DE",},
- weapon3={"P90","Pancor",},
- weapon4={"AG36","OICW","M249",},
- primaryWeaponSlot=4,
-
- grenades="HandGrenade",
-
- items = {
- --"PickupHeatVisionGoggles",
- },
-
- move_params = {
- speed_run=MCD_Scale*4.2,
- speed_walk=MCD_Scale*3.0,
- speed_swim=MCD_Scale*6.5,
- speed_crouch=MCD_Scale*1.6,
- speed_prone=MCD_Scale*0.6,
- jump_force=3.3,
- lean_angle=7.5,
- bob_pitch=0.015,
- bob_roll=0.035,
- bob_lenght=5.5*MCD_Scale,
- bob_weapon=0.005/MCD_Scale,
- },
-
- StaminaTable = {
- sprintScale = 1.4,
- sprintSwimScale = 1.4,
- decoyRun = 30,
- decoyJump = 10,
- restoreRun = 1.5,
- restoreWalk = 8,
- restoreIdle = 10,
-
- breathDecoyUnderwater = 15,
- breathDecoyAim = 10,
- breathRestore = 80,
- },
-
- InitialAmmo=
- {
- Pistol=90, -- DE
- Shotgun=30, -- Pancor
- SMG=150, -- P90
- Assault=200, -- M4,OICW,AG36
- HandGrenade=2, -- HandGrenade
- AG36Grenade=3, -- AG36 second firemod
- OICWGrenade=3, -- OICW second firemod
- },
- AmmoPickup=
- {
- Pistol=45, -- DE
- Shotgun=30, -- Pancor
- SMG=100, -- P90
- Assault=125, -- M4,OICW,AG36
- HandGrenade=2, -- HandGrenade
- AG36Grenade=2, -- AG36 second firemod
- OICWGrenade=2, -- OICW second firemod
- },
- DropAmmoPickup=
- {
- Pistol=25, -- DE
- Shotgun=15, -- Pancor
- SMG=75, -- P90
- Assault=100, -- M4,OICW,AG36
- HandGrenade=0, -- HandGrenade
- AG36Grenade=1, -- AG36 second firemod
- OICWGrenade=1, -- OICW second firemod
- },
- MaxAmmo=
- {
- Pistol=90, -- DE
- Shotgun=50, -- Pancor
- SMG=200, -- P90
- Assault=250, -- M4,OICW,AG36
- HandGrenade=5, -- HandGrenade
- AG36Grenade=3, -- AG36 second firemod
- OICWGrenade=3, -- OICW second firemod
- },
- },
-
- Sniper=
- {
- model="Objects/characters/mercenaries/merc_sniper/merc_sniper_MP.cgf",
- health = 130,
- armor = 12,
- max_armor = 12,
- weapon1={"Machete",},
- weapon2={"DE",},
- weapon3={"AW50","RL",},
- weapon4={},
- primaryWeaponSlot=3,
- grenades="SmokeGrenade",
-
- items = {
- "PickupBinoculars",
- --"PickupHeatVisionGoggles",
- },
-
- move_params = {
- speed_run=MCD_Scale*4.2,
- speed_walk=MCD_Scale*3.3,
- speed_swim=MCD_Scale*6.5,
- speed_crouch=MCD_Scale*1.6,
- speed_prone=MCD_Scale*0.6,
- jump_force=4.3,
- lean_angle=7.5,
- bob_pitch=0.015,
- bob_roll=0.035,
- bob_lenght=5.5*MCD_Scale,
- bob_weapon=0.005/MCD_Scale,
- },
-
- StaminaTable = {
- sprintScale = 1.5,
- sprintSwimScale = 1.5,
- decoyRun = 35,
- decoyJump = 10,
- restoreRun = 2,
- restoreWalk = 10,
- restoreIdle = 12,
-
- breathDecoyUnderwater = 15,
- breathDecoyAim = 10,
- breathRestore = 80,
- },
- InitialAmmo=
- {
- Pistol=90, -- DE
- Rocket= 10, -- RL
- Sniper= 20, -- AW50
- SmokeGrenade=1, -- SmokeGrenade
- },
- AmmoPickup=
- {
- Pistol=45, -- DE
- Rocket= 5, -- RL
- Sniper=10, -- AW50
- SmokeGrenade=1, -- SmokeGrenade
- },
- DropAmmoPickup=
- {
- Pistol=45, -- DE
- Rocket= 5, -- RL
- Sniper= 10, -- AW50
- SmokeGrenade=0, -- SmokeGrenade
- },
- MaxAmmo=
- {
- Pistol=90, -- DE
- Rocket=10, -- RL
- Sniper=30, -- AW50
- SmokeGrenade=2, -- SmokeGrenade
- },
- },
-
- Support=
- {
- model="Objects/characters/workers/evil_worker/evil_worker_MP.cgf",
- health = 225,
- armor = 25,
- max_armor = 25,
- weapon1={"M4",}, -- melee attack
- weapon2={"MedicTool", "MP5",},
- weapon3={"ScoutTool",},
- weapon4={"EngineerTool", }, -- Wrench building and repairing / scouttool for blowing things up
- primaryWeaponSlot=1,
- grenades="SmokeGrenade",
-
- items = {
- --"PickupHeatVisionGoggles",
- },
-
- move_params = {
- speed_run=MCD_Scale*4.75,
- speed_walk=MCD_Scale*3.5,
- speed_swim=MCD_Scale*6.5,
- speed_crouch=MCD_Scale*1.6,
- speed_prone=MCD_Scale*0.6,
- jump_force=4.3,
- lean_angle=7.5,
- bob_pitch=0.015,
- bob_roll=0.035,
- bob_lenght=5.5*MCD_Scale,
- bob_weapon=0.005/MCD_Scale,
- },
-
- StaminaTable = {
- sprintScale = 1.5,
- sprintSwimScale = 1.5,
- decoyRun = 25,
- decoyJump = 10,
- restoreRun = 2,
- restoreWalk = 8,
- restoreIdle = 10,
-
- breathDecoyUnderwater = 15,
- breathDecoyAim = 10,
- breathRestore = 80,
- },
- InitialAmmo=
- {
- Pistol=90, -- DE
- Assault=200, -- Pancor
- HealthPack=3, -- MedicTool
- SMG=175,
- SmokeGrenade=1, -- SmokeGrenade
- StickyExplosive=3,-- ScoutTool
- },
- AmmoPickup=
- {
- Pistol=45, -- DE
- Assault=50, -- Pancor
- HealthPack=2, -- MedicTool
- SMG=100,
- SmokeGrenade=1, -- SmokeGrenade
- StickyExplosive=3,-- ScoutTool
- },
- DropAmmoPickup=
- {
- Pistol=30, -- DE
- Assault=50, -- Pancor
- HealthPack=2, -- MedicTool
- SMG=60,
- SmokeGrenade=0, -- SmokeGrenade
- StickyExplosive=0,-- ScoutTool
- },
- MaxAmmo=
- {
- Pistol=90, -- DE
- Assault=250, -- Pancor
- HealthPack=6, -- MedicTool
- SMG=250,
- SmokeGrenade=2, -- SmokeGrenade
- StickyExplosive=3,-- ScoutTool
- },
- },
- },
- -----------------------------------------------------------------
-
- DefaultMultiPlayer= -- team or non team mods
- {
- health = 130, -- range: 0=dead .. 255=full health
- armor = 0,
- max_armor = 100,
-
- move_params = {
- speed_run=MCD_Scale*4.5,
- speed_walk=MCD_Scale*3.5,
- speed_swim=MCD_Scale*6.5,
- speed_crouch=MCD_Scale*1.6,
- speed_prone=MCD_Scale*0.6,
- jump_force=MCD_Scale*66.3,
- lean_angle=7.5,
- bob_pitch=0.015,
- bob_roll=0.035,
- bob_lenght=5.5*MCD_Scale,
- bob_weapon=0.005/MCD_Scale,
- },
-
- StaminaTable = {
- sprintScale = 1.4,
- sprintSwimScale = 1.4,
- decoyRun = 30,
- decoyJump = 10,
- restoreRun = 1.5,
- restoreWalk = 8,
- restoreIdle = 10,
-
- breathDecoyUnderwater = 2.8,
- breathDecoyAim = 10,
- breathRestore = 80,
- },
- },
- };